package net.ojbk.study.twobox.beans.form.post;

import net.ojbk.study.twobox.beans.form.InputItem;
import net.ojbk.study.twobox.beans.po.Job;
import net.ojbk.study.twobox.beans.vo.SelectOption;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: twobox
 * Date: 2019/4/18
 * Time: 11:04
 * Description: No Description
 */
@Component
public class JobPostForm extends SupperPostForm<Job> {

    public JobPostForm() {
        List<SelectOption> selectOptions = new ArrayList<>();
        selectOptions.add(new SelectOption("失业", "失业"));
        selectOptions.add(new SelectOption("就业", "就业"));
        this.inputItems.add(new InputItem("就业状态",
                "jobstate",
                "",
                "select", selectOptions));
    }
}
